package com.inco.cloud.auth.feign.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@FeignClient(name = "api-server1")
@Component
public interface FeignService {
    @ResponseBody
    @RequestMapping("/server-port")
    public String serverPort() ;
}